//
//  LocalData.m
//  ChatRoom
//
//  Created by lee han on 12/11/12.
//  Copyright (c) 2012 lee han. All rights reserved.
//

#import "LocalData.h"


NSString* cachePath()
{
	NSString *libPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Library"];
	NSString *path = [libPath stringByAppendingPathComponent:@"Caches"];
	
	return path;
}

NSString* documentPath()
{
    NSString *docPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];
	return docPath;
}

NSString* configFile()
{
    return [documentPath() stringByAppendingPathComponent:@"config.plist"];
}

NSString* accountFile()
{
    return [documentPath() stringByAppendingPathComponent:@"account.plist"];
}
